package com.cqie.rbac.util;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author 夏兵
 * @Date 2021/9/22
 */
@Data
@NoArgsConstructor
public class NavNode {

    private Long id;
    private String name;
    private String appUrl;
    private String imgUrl;
    private List<NavNode> children;

    public NavNode(Long id, String name, String appUrl, String imgUrl) {
        this.id = id;
        this.name = name;
        this.appUrl = appUrl;
        this.imgUrl = imgUrl;
    }
}
